Skip to content

Conversation

@nikhil-m-k
Copy link

…with dynamic shapes (#2833)

If the input and output have a dynamic shape such that the rank of input matches the rank of output and shapes are compatible (i.e. no broadcasting is needed), then the dynamic broadcast in dim is effectively a copying input to output In such cases, we can lower it to a simple linalg.generic operation. It can later be canonicalised and bufferised accordingly.

…with dynamic shapes (openxla#2833)

If the input and output have a dynamic shape such that the rank of input
matches the rank of output and shapes are compatible (i.e. no broadcasting is
needed), then the dynamic broadcast in dim is effectively a copying input to
output In such cases, we can lower it to a simple linalg.generic operation.
It can later be canonicalised and bufferised accordingly.
@google-cla
Copy link

google-cla bot commented Oct 21, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@nikhil-m-k nikhil-m-k marked this pull request as draft November 5, 2025 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant